<%@ taglib prefix="c" 
           uri="http://java.sun.com/jsp/jstl/core" %>

<c:forEach var="i" begin="0" end="${noOfMovie - 1}">
    <h2 class="title">${availableMovies[i].name}</h2>
    <iframe width="560" height="315" src="http://www.youtube.com/embed/${availableMovies[i].trailerPath}" frameborder="0" allowfullscreen></iframe>
    <hr/>
</c:forEach>